import baseConfig from './rollup.config.base'
import { name } from '../package.json'
import serve from 'rollup-plugin-serve'
// import livereload from 'rollup-plugin-livereload'

export default [
    {
        ...baseConfig,
        output: [
            {
                file: `dist/${name}.js`,
                format: 'umd',
                name,
                sourcemap: true
            }
        ],
        plugins: [
            ...baseConfig.plugins,
            serve({
                port: 8075,
                contentBase: ['']
            })
        ]
    }
]